package com.azt.api.pojo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.azt.pojo.BaseEntity;

@Table(name = "azt_coin_rule")
public class BaseCoinRule extends BaseEntity {

    /*规则名称*/
	@Column(name = "ruleName")
	private java.lang.String ruleName;

	/*身份(1:金牌采购商,2:金牌服务商,3:主控股东,4:普通股东,5:战略合作商,6:普通会员)*/
	@Column(name = "identity")
	private java.lang.Integer identity;

	/*是否允许过期(0:不允许过期,1:允许过期)*/
	@Column(name = "allowExpired")
	private java.lang.Integer allowExpired;

	/*开放时间*/
	@Column(name = "starttime")
	private java.lang.String starttime;

	/*截止时间*/
	@Column(name = "endtime")
	private java.lang.String endtime;

	/*安装币上限*/
	@Column(name = "upperLimit")
	private java.lang.Integer upperLimit;

	/*是否可用(0:不可用,1:停用,2:可用)*/
	@Column(name = "usable")
	private java.lang.Integer usable;

	
	public java.lang.String getRuleName() {
		return this.ruleName;
	}
	
	public void setRuleName(java.lang.String value) {
		this.ruleName = value;
	}

	public java.lang.Integer getIdentity() {
		return this.identity;
	}
	
	public void setIdentity(java.lang.Integer value) {
		this.identity = value;
	}

	public java.lang.Integer getAllowExpired() {
		return this.allowExpired;
	}
	
	public void setAllowExpired(java.lang.Integer value) {
		this.allowExpired = value;
	}

	public java.lang.String getStarttime() {
		return this.starttime;
	}
	
	public void setStarttime(java.lang.String value) {
		this.starttime = value;
	}

	
	public java.lang.String getEndtime() {
		return this.endtime;
	}
	
	public void setEndtime(java.lang.String value) {
		this.endtime = value;
	}

	public java.lang.Integer getUpperLimit() {
		return this.upperLimit;
	}
	
	public void setUpperLimit(java.lang.Integer value) {
		this.upperLimit = value;
	}

	public java.lang.Integer getUsable() {
		return this.usable;
	}
	
	public void setUsable(java.lang.Integer value) {
		this.usable = value;
	}

}

